	<p class="link"> Play as
		<?php
		echo anchor('durak','Guest');
		?>
	</p>

		<div id="body">
			<div id="regFrm">
			<?php 
				echo form_open('register_controller/create_user');
				echo form_label('First Name:').br(1);
					$data = array(
		              'name'        => 'fname',
		              'id'          => 'fname',
		              'size'        => '40',
		              'required'    => ''
		            );
				echo form_input($data).br(1);

				echo form_label('Last Name:').br(1);
					$data = array(
		              'name'        => 'lname',
		              'id'          => 'lname',
		              'size'        => '40',
		              'required'    => ''
		            );
				echo form_input($data).br(1);

				echo form_label('Username:').br(1);
					$data = array(
		              'name'        => 'username',
		              'id'          => 'username',
		              'size'        => '40',
		              'required'    => ''
		            );
				echo form_input($data).br(1);

				echo form_label('Password:').br(1);
					$data = array(
		              'name'        => 'password',
		              'id'          => 'password',
		              'size'        => '40',
		              'required'    => '' 
		            );
				echo form_password($data).br(1);

				echo form_label('Confirm Password:').br(1);
					$data = array(
		              'name'        => 'password1',
		              'id'          => 'password1',
		              'size'        => '40',
		              'required'    => '' 
		            );
				echo form_password($data).br(1);
				echo validation_errors();
				if(isset($prompt))
				{
					echo $prompt;
				}
			?>
			</div>
		</div>
		
	<p class="footer">
		<?php 
			echo form_submit('submit', 'Register').nbs(5);
			echo anchor('durak','Login');
			echo form_close(); 
		?> 
	</p>